<style type="text/css">
<!--
div.cbody{
	border: 1px solid #999;
	padding: 0px;
	width: 320px;
}
div.r1{
	background: #ccc;
}
div.export-item,
div.export-item-none{
	padding:5px;
}
div.export-item:hover{
	background: #2E64FE;
	color: #fff;
}
div.export-item + .export-item{
	border-top: 1px dashed #999;
}
input.add-new{
	width: 170px;
	border: 1px solid #999;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
	padding: 5px;
}
input.btn-add-export{
	padding: 5px 10px;
	float: right;
}
-->
</style>
<div class="cbody">
	<?php 
	$count_for = 0;
	foreach($data['exports'] as $ex):?>
	<div class="export-item r<?php echo $count_for++%2?>" data-title="<?php echo __('add_export', null, 'candidate_candidates')?>" data-export-id="<?php echo $ex['id']?>" data-url="<?php echo sfConfig::get('app_prefix').url_for2('candidate_add_export') ?>" data-action="add" title="<?php echo __('add_to_here', null, 'candidate_candidates')?>" data-candidate-id="<?php echo $data['candidate_id']?>">
		<?php echo $ex['name']?>
	</div>
	<?php endforeach;?>
	<div class="export-item-none r<?php echo $count_for++%2?>">
		<input type="text" class="add-new" data-error="<?php echo __('add-new-export-error', null, 'candidate_candidates')?>" name="txtExportName" id="txtExportName" value=""/>&nbsp;
		<input type="button" class="btn-add-export" value="<?php echo __('add-new-export', null, 'candidate_candidates')?>" data-action="new" data-url="<?php echo sfConfig::get('app_prefix').url_for2('candidate_add_export') ?>" name="btnExportAdd" id="add-export-new" data-candidate-id="<?php echo $data['candidate_id']?>"/>
		<div style="clear:both"></div>
	</div>
</div>	